﻿Public Class ucEnterStudentGrades

	Private gridViewCellGradeValidator As StudentGradeGridViewValidator

	''' <summary>
	''' Loads classes attended by a student
	''' </summary>
	Public Sub loadClassesAttended(ByVal studentId As Integer)
		Me.gridViewCellGradeValidator = New StudentGradeGridViewValidator(Me.grdClassesAttended)
		Me.grdClassesAttended.gpWhereclause = "studentid=" & studentId
		Me.grdClassesAttended.loadGrid()

	End Sub

	''' <summary>
	''' Clears list
	''' </summary>
	''' <remarks></remarks>
	Public Sub clearClassesAttended()

		Me.grdClassesAttended.DataSource = Nothing

	End Sub

	
End Class
